Friday, February 18, 2005

set root user password mysql

#PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
#This is done with:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h dell password 'new-password'
#See the manual for more instructions.

#NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
#the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
#able to use the new GRANT command!

#You can start the MySQL daemon with:
cd /usr ; /usr/bin/safe_mysqld &

Thursday, February 17, 2005

iptables logging

#Log iptables traffic on a specific port (25, in this case):
iptables -A INPUT -p tcp --dport 25 -j LOG --log-prefix "SMTPTRAFFIC:"

Oracle Linux virt-manager Error launching create dialog: list index out of range

After a fresh install of Oracle Linux 9.1 and installing virt-manager/virt-install, I tried to create a new virtual machine and got this err...